package com.p2p.model.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 罗永东
 * @since 2023-12-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Account implements Serializable {

    private static final long serialVersionUID = 1L;

      private Long id;

    /**
     * 交易密码
     */
    @TableField("tradePassword")
    private String tradepassword;

    /**
     * 可用金额

     */
    @TableField("usableAmount")
    private BigDecimal usableamount;

    /**
     * 冻结金额
     */
    @TableField("freezedAmount")
    private BigDecimal freezedamount;

    /**
     * 借款限额
     */
    @TableField("borrowLimitAmount")
    private BigDecimal borrowlimitamount;

    private Integer version;

    /**
     * 未收利息
     */
    @TableField("unReceiveInterest")
    private BigDecimal unreceiveinterest;

    /**
     * 未收本金

     */
    @TableField("unReceivePrincipal")
    private BigDecimal unreceiveprincipal;

    /**
     * 还款金额
     */
    @TableField("unReturnAmount")
    private BigDecimal unreturnamount;

    /**
     * 剩余借款限额
     */
    @TableField("remainBorrowLimit")
    private BigDecimal remainborrowlimit;

    @TableField("user_id")
    private Long userId;

}
